package JSwing;

/**
 *TestMethod.java
 */

public class TestMethod {
    public TestMethod() {    ///xx/weblogic60b2_win.exe
        try{
            SiteInfoBean bean = new SiteInfoBean("https://dldir1.qq.com/qqfile/qq/PCQQ9.5.8/QQ9.5.8.28186.exe",
                    "D:\\APPS","QQ9.5.8.28186.exe",5);
            //SiteInfoBean bean = new SiteInfoBean("http://localhost:8080/down.zip","L:\\temp",
           // "weblogic60b2_win.exe",5);
            SiteFileFetch fileFetch = new SiteFileFetch(bean);
           // fileFetch.start();
        } catch(Exception e) {
            e.printStackTrace ();
        }
    }




}